package serialize;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Collections;
import java.util.List;

/**
 * Carries location configuration from YAML file format.
 *
 * @author Blind
 */
public class LocationAdapter {
    @JsonProperty(required = true)
    private String name;
    @JsonProperty(value = "parent")
    private String parentName;

    private List<String> encounters = Collections.emptyList();

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public String getParentName() { return parentName; }
    public void setParentName(String parentName) { this.parentName = parentName; }

    public List<String> getEncounters() { return encounters; }
    public void setEncounters(List<String> encounters) { this.encounters = encounters; }
}
